package com.hexacta.hrs.domain.exchange;

import org.vectrics.common.db.AbstractRecordObject;
import org.vectrics.employee.Employee;

public class Referring extends AbstractRecordObject {
	private Long id;
	private Employee partner;
	private Double abjudication;
	private Boolean defaultPartner;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Employee getPartner() {
		return partner;
	}
	public void setPartner(Employee partner) {
		this.partner = partner;
	}
	public Double getAbjudication() {
		return abjudication;
	}
	public void setAbjudication(Double abjudication) {
		this.abjudication = abjudication;
	}
	public Boolean getDefaultPartner() {
		return defaultPartner;
	}
	public void setDefaultPartner(Boolean defaultPartner) {
		this.defaultPartner = defaultPartner;
	}
	
	public String getFormatedDefaultPartner(){
		return defaultPartner?"Yes":"";
	}
	
}
